﻿#ifndef SHOPPINGCART_H
#define SHOPPINGCART_H

#include <QList>
#include "element.h"

typedef QList<Element*> ElementList;

class ShoppingCart
{
public:
    ShoppingCart();

    void add(Element* element);

    void accept(Visitor* visitor);

private:
    ElementList m_elementList;
};

#endif // SHOPPINGCART_H
